public class test2 {
    public static void main(String[] args) {
        BinaryTree binaryTree=new BinaryTree();
        binaryTree.createTree();
       System.out.println(binaryTree.getLeafNodeCount2(binaryTree.root));
       binaryTree.getLeafNodeCount1(binaryTree.root);
        System.out.println(BinaryTree.leafSize);
        binaryTree.size(binaryTree.root);
        System.out.println(BinaryTree.nodeSize);
        System.out.println(binaryTree.getHeight(binaryTree.root));
        binaryTree.levelOrder(binaryTree.root);
    }
}
